@import "../base/color.scss";
@import "../base/mixin.scss";

$nav-height: 48px;
$menu-height: 40px;
$submenu-height: 36px;
.left-menu {
    position: relative;
    height: 100%;
    background-color: #374162;
    padding-top: $nav-height;
    box-sizing: border-box;
    overflow-y: auto;
    color: #fff;
    .mgt-name {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: $nav-height;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: start;
        padding-left: 20px;
        padding-top: 4px;
        box-sizing: border-box;
    }
    .left-menu__list {
        width: 100%;
        height: 100%;
        padding: 0 4px;
        box-sizing: border-box;
    }
    .left-menu__item {
        width: 100%; 
    }
    .left-menu__content {
        width: 100%;
        height: $menu-height;
        line-height: $menu-height;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .left-menu__icon {
        font-size: 16px;
        margin-right: 12px;
    }
    .left-menu__text {
        width: calc(100% - 32px);
        height: $menu-height;
        line-height:$menu-height;
    }
    .left-menu__child {
        height: $submenu-height;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-left: 22px;
        box-sizing: border-box;
        color: #fff;
        border-radius: 4px;
        &.router-link-exact-active {
            background-color: $blue;
        }
        &:hover {
            background-color: $blue;
        }
    }
    .left-menu__point {
        display: inline-block;
        width: 3px;
        height: 3px;
        background-color: #fff;
        margin-right: 20px;

    }
    .left-menu__link {
        width: calc(100% - 32px);
        height: $submenu-height;
        line-height: $submenu-height;
    }

}